Page({
  data:{
    name:"小黄",
    age:18,
    student:[
      {id:1,name:"hh",age:18},
      {id:2,name:"hh1",age:19},
      {id:3,name:"hh2",age:20},
      {id:4,name:"hh3",age:21},
    ],
    counter:0
  },
  counterAdd(){
    this.setData({
      counter:this.data.counter+1
    })
  },
  counterSub(){
    this.setData({
      counter:this.data.counter-1
    })
  }
})